FS_selektor	equ	0010h
	org	100h
	jmp	Redaktor
;	������ ���������
Sector	times	16	db	10h
	times	16	db	11h
	times	16	db	12h
	times	16	db	13h
	times	16	db	14h
	times	16	db	15h
	times	16	db	16h
	times	16	db	17h
	times	16	db	18h
	times	16	db	19h
	times	16	db	1Ah
	times	16	db	1Bh
	times	16	db	1Ch
	times	16	db	1Dh
	times	16	db	1Eh
	times	16	db	1Fh
Address	dd	100h
;-----------------------------------------------------------------------

;
;	������� ���� ���������
;	-----------------------------------------
;
Redaktor:
	mov	ax,cs
	mov	cl,4
	shl	ax,cl
	add	ax,Gdt
	mov	[Gd_reg+2],ax
	lgdt	[Gd_reg]	

	mov	eax,cr0
	or	eax,1
	mov	cr0,eax

	mov	ax,FS_selektor
	mov	fs,ax

	mov	eax,cr0
	and	eax,0fffffffeh
	mov	cr0,eax

	call	Dispatcher		;����� ����������
	retf				;�������

Gdt:	db	0,0,0,0,0,0,0,0
	db	0ffh
	db	0ffh
	db	00h
	db	00h
	db	00h
	db	10011010b
	db	11001111b
	db	00h
	db	0ffh	
	db	0ffh
	db	00h
	db	00h
	db	00h
	db	10010010b
	db	11001111b
	db	00h
Gd_reg:	dw	24
	dd	0


%include	'Dispatch.asm'		;������������� ��������